package com.msb.apiDriver.remote;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.internalcommon.reponese.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/5 - 07 - 05 - 15:02
 * @Description: com.msb.apiDriver.remote
 * @version: 1.0
 */
@FeignClient("service-verificationcode")
public interface VerificationCodeClient {

    @RequestMapping(method = RequestMethod.GET , value = "/numberCode/{size}")
    public ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size") int size) ;
}
